package com.topc.participant.service;

import com.topc.base.model.PageParams;
import com.topc.base.model.PageResult;
import com.topc.participant.model.dto.QueryRoleDto;
import com.topc.participant.model.po.MenuInfo;
import com.topc.participant.model.po.RoleInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 角色信息 服务类
 * </p>
 *
 * @author itcast
 * @since 2024-01-25
 */
public interface IRoleInfoService extends IService<RoleInfo> {

    PageResult<RoleInfo> searchRoleInfoByPage(PageParams pageParams, QueryRoleDto queryRoleDto);

    void delRoleInfo(int type, Long roleId);

    void addRoleInfo(RoleInfo roleInfo);

    List<RoleInfo> getTypeRole(Integer type);
}
